/*
 * Copyright 2007-2008, www.jsemantic.org, www.adolfoestevez.com,
 * http://semanticj2ee.blogspot.com/ 
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package org.jsemantic.servicerules.examples.energy.model;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * The Class Tariff.
 */
public class Tariff implements Serializable {

	/** The type. */
	private String type = "";
	
	/** The power mode. */
	private String powerMode = "";
	
	/** The power. */
	private BigDecimal power = null;

	/** The kwh. */
	private BigDecimal kwh = null;
	
	/** The ppower. */
	private BigDecimal ppower = null;

	/** The months. */
	private Integer months = null;

	/**
	 * Instantiates a new tariff.
	 */
	public Tariff() {

	}

	/**
	 * Instantiates a new tariff.
	 * 
	 * @param powerMode the power mode
	 * @param power the power
	 */
	public Tariff(String powerMode, String power) {

	}

	/* (non-Javadoc)
	 * @see java.lang.Object#toString()
	 */
	public String toString() {
		return "Type: " + type + "	Power Mode: " + powerMode + "	Hired Power: "
				+ power;
	}

	/**
	 * Gets the type.
	 * 
	 * @return the type
	 */
	public String getType() {
		return type;
	}

	/**
	 * Sets the type.
	 * 
	 * @param type the new type
	 */
	public void setType(String type) {
		this.type = type;
	}

	/**
	 * Gets the power mode.
	 * 
	 * @return the power mode
	 */
	public String getPowerMode() {
		return powerMode;
	}

	/**
	 * Sets the power mode.
	 * 
	 * @param powerMode the new power mode
	 */
	public void setPowerMode(String powerMode) {
		this.powerMode = powerMode;
	}

	/**
	 * Gets the power.
	 * 
	 * @return the power
	 */
	public BigDecimal getPower() {
		return power;
	}

	/**
	 * Sets the power.
	 * 
	 * @param power the new power
	 */
	public void setPower(BigDecimal power) {
		this.power = power;
	}

	/**
	 * Gets the kwh.
	 * 
	 * @return the kwh
	 */
	public BigDecimal getKwh() {
		return kwh;
	}

	/**
	 * Sets the kwh.
	 * 
	 * @param kwh the new kwh
	 */
	public void setKwh(BigDecimal kwh) {
		this.kwh = kwh;
	}

	/**
	 * Gets the ppower.
	 * 
	 * @return the ppower
	 */
	public BigDecimal getPpower() {
		return ppower;
	}

	/**
	 * Sets the ppower.
	 * 
	 * @param ppower the new ppower
	 */
	public void setPpower(BigDecimal ppower) {
		this.ppower = ppower;
	}

	/**
	 * Gets the months.
	 * 
	 * @return the months
	 */
	public Integer getMonths() {
		return months;
	}

	/**
	 * Sets the months.
	 * 
	 * @param months the new months
	 */
	public void setMonths(Integer months) {
		this.months = months;
	}

}
